<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
		Remove this if you use the .htaccess -->
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<title>St Nicholas Activity Planning</title>
		<meta name="description" content="" />
		<meta name="author" content="Michael" />
		<meta name="viewport" content="width=device-width; initial-scale=1.0" />
		<!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<!--		<link rel="shortcut icon" href="/favicon.ico" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />-->

		<link rel="stylesheet" href="views/css/snapmain.css" />
		<link rel="stylesheet" href="views/css/diary.css" />
		<link rel="stylesheet" href="views/css/booking.css" />
		<link rel="stylesheet" href="views/css/reports.css" />
		<link rel="stylesheet" href="views/css/messaging.css" />
		<link rel="stylesheet" href="views/css/admin.css" />
<!--		<link rel="stylesheet" href="views/css/anytime.css" /> -->
		<link rel="stylesheet" href="views/css/jquery-ui-timepicker-addon.css" />
<!--		<link rel="stylesheet" href="views/css/dot-luv/jquery-ui-1.8.18.custom.css" /> -->
<!--		<link rel="stylesheet" href="views/css/eggplant/jquery-ui-1.10.0.custom.css" /> -->
		<link rel="stylesheet" href="views/css/redmond/jquery-ui-1.10.0.custom.css" />
<!--		<link rel="stylesheet" href="views/css/smoothness/jquery-ui-1.10.0.custom.css" /> -->


		<script language="javascript" src="library/javascript/jquery-1.7.1.min.js"></script>
		<script language="javascript" src="library/javascript/main.js"></script>
		<script language="javascript" src="library/javascript/diary.js"></script>
		<script language="javascript" src="library/javascript/booking.js"></script>
		<script language="javascript" src="library/javascript/reports.js"></script>
		<script language="javascript" src="library/javascript/messaging.js"></script>
		<script language="javascript" src="library/javascript/admin.js"></script>
<!--		<script language="javascript" src="library/javascript/anytime.js"></script>-->
		<script language="javascript" src="library/javascript/jquery-ui-1.10.0.custom.min.js"></script>
		<script language="javascript" src="library/javascript/jquery-ui-timepicker-addon.js"></script>
		<script language="javascript" src="library/javascript/raptor.js"></script>
		
		<script language="javascript">
			var UserID = "<?php echo $GLOBALS['USER_ID'];?>";
			var SessionID = "<?php echo $GLOBALS['SESSION_ID'];?>";
			var IsLoggedOn = <?php echo ($GLOBALS['IS_LOGGED_ON'])?'true':'false';?>;
			var CurrentPage = "<?php echo $GLOBALS['CURRENT_PAGE'];?>";
		</script>
		<title>St Nicholas Activity Planning</title>		
	</head>
	<body>
		<div id="container">
			<div id="header">
				<img src="views/images/StNicholasLogo80px.jpg" />
				<span class="HeaderTitle"><span class="HeaderTitleInitCap">S</span>aint </span>	
				<span class="HeaderTitle"><span class="HeaderTitleInitCap">N</span>icholas </span>	
				<span class="HeaderTitle"><span class="HeaderTitleInitCap">A</span>ctivity</span>	
				<span class="HeaderTitle"><span class="HeaderTitleInitCap">P</span>lanning</span>
				<img style="float:right" src="views/images/CathedralScreen.jpg" />	
				<hr>
				<?php require"views/menus/default.php"; ?>
			</div>
			<div id="main">
				<form id="new-page-form" method="post" target="_self">
					<input id="new-page-form-page" type="hidden" name="page" />
					<input id="new-page-form-SessionID" type="hidden" name="SessionID" />
					<input id="new-page-form-UserID" type="hidden" name="UserID" />
				</form>
				<div id="logon">
					<div id="logon-title">Please Log On</div>
<!--				<input id="login-dummy" type="hidden" />  -->
					<div id="logon-message"></div>
					<p>Username: <input id="logon-username" type="text" /></p>
					<p>Password: <input id="logon-password" type="password" /></p>
					<div id="logon-button">Logon</div>
				</div>
				<?php require $CURRENT_PAGE; ?>
			</div>
			<div id="footer">
				<hr>
				<p>&copy;2012 Michael Stoddart</p>
				<div style="font-size:0.7em;text-align:center;">Server sponsored by GoGoDigital Limited : The <a href="http://www.gogodigital.co.uk" title="GoGoDigital Limited" target="_blank">Netbook<a/> Company</div>
			</div>
		</div>
	</body>

</html>